package com.chen.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 邮件日志
 *
 * @author chenchao
 * @date 2022/7/27 17:00
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("mail_log")
@ApiModel(value = "邮件日志", description = "")
public class MailLog implements Serializable {

    //消息id
    @TableField("msgId")
    private String msgId;

//    接收用户id
    @TableField("eid")
    private Integer eid;

//    状态
    private int status;

//    路由键
    @TableField("routerKey")
    private String routerKey;

//    交换机
    private String exchange;
    private int count;

//    重试时间
    @TableField("tryTime")
    private LocalDateTime tryTime;

//    创建时间
    @TableField("createTime")
    private LocalDateTime createTime;

//    更新时间
    @TableField("updateTime")
    private LocalDateTime updateTime;

}
